<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="joda" uri="http://www.joda.org/joda/time/tags"%>
<c:set var="ctx" value="${pageContext.request.contextPath}" />
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<title>沈阳国安驾校</title>
<meta name="viewport"
	content="width=device-width, initial-scale=1.0, minimum-scale=0.5, maximum-scale=2.0, user-scalable=yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="format-detection" content="telephone=no">
<meta charset="utf-8">
<link href="${ctx}/static/weixin/hotels.css" rel="stylesheet"
	type="text/css">
<style>
.list li a .text {
	height: 30px;
}

.list li a .text .f-left {
	float: left;
}

.list li a .text .f-right {
	float: right;
}
</style>
</head>

<body>
	<div class="cardexplain">
		<jsp:include page="${ctx}/weixin/coach/coachConfig" />
	</div>
	<c:if test="${userType == 2 }">
		<div class="footReturn" style="text-align: center">
			<input type="button" style="margin: 0 auto 20px auto; width: 90%"
				class="submit" value="科目二"
				onclick="window.location='${ctx}/weixin/coach/coach_${userType}_2'">
		</div>
		<div class="footReturn" style="text-align: center">
			<input type="button" style="margin: 0 auto 20px auto; width: 90%"
				class="submit" value="科目三"
				onclick="window.location='${ctx}/weixin/coach/coach_${userType}_3'">
		</div>
				<div class="footReturn" style="text-align: center">
				<input type="button" style="margin: 0 auto 20px auto; width: 90%"
					class="submit" value="科目二模拟绑定码"
					onclick="window.location='${ctx}/weixin/randomKey/index?type=1'">
			</div>
		<div class="footReturn" style="text-align: center">
			<input type="button" style="margin: 0 auto 20px auto; width: 90%"
				class="submit" value="修改教练信息"
				onclick="window.location='${ctx}/weixin/train/update'">
	</c:if>
	<c:if test="${userType == 1 }">
		<c:if test="${coachType == 2 || coachType == 5 }">
			<div class="footReturn" style="text-align: center">
				<input type="button" style="margin: 0 auto 20px auto; width: 90%"
					class="submit" value="科目二"
					onclick="window.location='${ctx}/weixin/coach/coach_${userType}_2'">
			</div>
		</c:if>
		<c:if test="${coachType == 3 || coachType == 5 }">

			<div class="footReturn" style="text-align: center">
				<input type="button" style="margin: 0 auto 20px auto; width: 90%"
					class="submit" value="科目三"
					onclick="window.location='${ctx}/weixin/coach/coach_${userType}_3'">
			</div>
		</c:if>
		<div class="footReturn" style="text-align: center">
			<input type="button" style="margin: 0 auto 20px auto; width: 90%"
				class="submit" value="绑定教练"
				onclick="window.location='${ctx}/weixin/student/updateKey'">
		</div>
		<div class="footReturn" style="text-align: center">
			<input type="button" style="margin: 0 auto 20px auto; width: 90%"
				class="submit" value="教练信息"
				onclick="window.location='${ctx}/weixin/student/myTrain'">
		</div>
		<div class="footReturn" style="text-align: center">
			<input type="button" style="margin: 0 auto 20px auto; width: 90%"
				class="submit" value="我的预约"
				onclick="window.location='${ctx}/weixin/student/userCoach'">
		</div>
	</c:if>
</body>
</html>